public class Test {
    public static void main(String[] args) {
        Dog dog1 = new Dog("小黄",3,"雄性");
        Dog dog2 = new Dog("小黑",4,"雌性");
        dog1.eat();
        dog1.sleep();
        dog1.show();

        dog2.eat();
        dog2.sleep();
        dog2.show();
    }
}
